<?php

namespace App\Requests;

use Framework\BaseRequest;

/**
 * @method code
 * @method iv
 * @method encryptedData
 */
class MiniLoginRequest extends BaseRequest
{
    public function rules()
    {
        return [
            'code' => 'required',

        ];
    }

    public function messages()
    {
        return [
            'code.required' => 'code不能为空',
//            'iv.required' => 'iv不能为空',
//            'encryptedData.required' => 'encryptedData不能为空',
        ];
    }
}
